﻿@using QDT.MVC.UI
@model QDT.Common.IPagedList<QDT.Web.Models.ArticleModel>
@{
    ViewBag.Title = "网站公告";
}
<script type="text/javascript">
    $().ready(function () {
        $("#gray_one,#white_one").addClass("changed_display");
        $("#li_one a").addClass("changed_color");
    });
</script>
<div class="ui-body" style="padding: 0; background-color: #fff;">
    @Html.Partial("_ArticeNav", "About-News")
    <div class="ui-inner ui-about">
        <div class="ui-grid-row">
            <div class="ui-grid-19">
                <div class="ui-about-main">
                    <div class="ui-about-bd fn-clear">
                        <div class="ui-table-container ui-about-link">
                            <table class="ui-table ui-table-inbox">
                                <tbody>
                                    @foreach (var item in Model)
                                    {
                                        <tr>
                                            <td width="16">
                                                <i class="iconfont">&#xf00fd;</i>
                                            </td>
                                            <td>
                                                <a href="@Url.Action("ShowDetail", "Article", new { id = item.Id })">@item.Title</a>
                                            </td>
                                            <td width="80">
                                                <span>@item.CreateTime.ToShortDateString()</span>
                                            </td>
                                        </tr>
                                    }
                                </tbody>
                            </table>
                        </div>
                        @Html.ClientPager(Model)
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
